package com.ss.android.common.download;

import android.text.TextUtils;

public final class DownloadShortInfo {
    public long id;
    public int b;
    public long c;
    public long d;
    public String fileName;

    public DownloadShortInfo() {
        this.id = -1;
        this.b = -1;
        this.c = -1;
        this.d = -1;
    }

    public final boolean equals(Object arg9) {
        int v5;
        boolean v1 = true;
        if (!(arg9 instanceof DownloadShortInfo) || arg9 == null) {
            v1 = super.equals(arg9);
        } else {
            int v0 = this.id == ((DownloadShortInfo) arg9).id ? 1 : 0;
            int v3 = this.b == ((DownloadShortInfo) arg9).b ? 1 : 0;
            int v4 = this.c == ((DownloadShortInfo) arg9).c ? 1 : 0;
            if (!TextUtils.isEmpty(this.fileName) || !TextUtils.isEmpty(((DownloadShortInfo) arg9).fileName)) {
                if (!TextUtils.isEmpty(this.fileName) && !TextUtils.isEmpty(((DownloadShortInfo) arg9).fileName) && (this.fileName.equals(((DownloadShortInfo) arg9).fileName))) {
                    v5 = 1;
                } else {
                    v5 = 0;
                }
            } else {
                v5 = 1;
            }

            if (v0 != 0 && v3 != 0 && v4 != 0 && v5 != 0) {
                return v1;
            }
            v1 = false;
        }

        return v1;
    }
}

